.homePagePowerSupplyQualityOfSubstationPage {
    width: calc(100% - 64px);
    height: calc(100% - 48px);
    margin: 16px 32px 32px;
    border-radius: 4px;
    border: 1px solid rgba(23, 161, 230, 0.3);

    .homePagePowerSupplyQualityOfSubstationPage-header {
        height: 48px;
        background-color: rgba(23, 161, 230, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 16px;

        .homePagePowerSupplyQualityOfSubstationPage-header__select {
            width: 240px;
        }

        .homePagePowerSupplyQualityOfSubstationPage-header__scale {
            width: 120px;
            height: 24px;
            background-color: rgba(23, 161, 230, 0.2);
            border-radius: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 10px;

            .header-scale__image {
                width: 16px;
                height: 16px;
                cursor: pointer;
            }

            .header-scale__value {
                font-size: 14px;
                font-weight: 400;
                color: #7ACCF5;
                cursor: pointer;
            }
        }

        :global {

            // 选择框
            .ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
                font-size: 14px;
                background-color: rgba(23, 161, 230, 0.2);
                font-weight: 400;
                height: 32px;
                border-radius: 2px;
                border: 1px solid rgba(23, 161, 230, 0.3);
            }

            //选择框文字
            .ant-select-single.ant-select-show-arrow .ant-select-selection-item {
                color: #B8D6E6;

            }

            // 选择框下拉箭头
            .ant-select-arrow {
                color: #7A8F99;
            }

            // 选择框hover
            .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer):hover .ant-select-selector {
                border: 1px solid rgba(23, 161, 230, 1);
            }

            //  选择框选择完成
            .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {
                box-shadow: none;
            }

            // 输入框
            .ant-input {
                width: 36px;
                height: 20px;
                border-color: rgba(122, 143, 153, 0.5);
                background-color: rgba(0, 0, 0, 0);
                color: #7ACCF5;
                border-radius: 2px;
                padding: 0;

                &::placeholder {
                    color: rgba(255, 255, 255, 0.45);
                }
            }

            // 输入框聚焦
            .ant-input:focus {
                box-shadow: none !important
            }
        }
    }

    .homePagePowerSupplyQualityOfSubstationPage-main {
        height: calc(100% - 48px);
    }

    .homePagePowerSupplyQualityOfSubstationPage-openDrawerImgae {
        width: 38px;
        height: 160px;
        position: absolute;
        top: calc((484 / 1080 * 100%));
        right: 0;
        cursor: pointer;
    }

    .homePagePowerSupplyQualityOfSubstationPage-powerSupplyQualityOfSubstationPageDrawerContentComponent {
        width: 924px;
        height: 100%;

        .homePagePowerSupplyQualityOfSubstationPage-powerSupplyQualityOfSubstationPageDrawerContentComponent__closeDrawerImgae {
            width: 38px;
            height: 160px;
            position: absolute;
            top: calc((484 / 1080 * (100% - 64px)));
            left: -39px;
            cursor: pointer;
        }

        .homePagePowerSupplyQualityOfSubstationPage-powerSupplyQualityOfSubstationPageDrawerContentComponent__header {
            padding: 12px 19px 12px 16px;
            background-color: rgba(23, 161, 230, 0.1);
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            font-weight: 400;
            color: #B8D6E6;

            .powerSupplyQualityOfSubstationPageDrawerContentComponent-header__left {
                display: flex;
                align-items: center;

                .header-left__switchCabinetSelect {
                    width: 180px;
                    margin-right: 30px;
                }

                .header-left__loopSelect {
                    width: 240px;
                }
            }

            .powerSupplyQualityOfSubstationPageDrawerContentComponent-header__indexSelect {
                width: 160px;
            }

            :global {

                // 选择框
                .ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
                    font-size: 14px;
                    background-color: rgba(0, 0, 0, 0);
                    font-weight: 400;
                    height: 32px;
                    border-radius: 2px;
                    border: 1px solid rgba(23, 161, 230, 0.5);
                }

                //选择框文字
                .ant-select-single.ant-select-show-arrow .ant-select-selection-item {
                    color: #B8D6E6;

                }

                // 选择框下拉箭头
                .ant-select-arrow {
                    color: #7A8F99;
                }

                // 选择框hover
                .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer):hover .ant-select-selector {
                    border: 1px solid rgba(23, 161, 230, 1);
                }

                //  选择框选择完成
                .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {
                    box-shadow: none;
                }
            }

        }

        .homePagePowerSupplyQualityOfSubstationPage-powerSupplyQualityOfSubstationPageDrawerContentComponent__powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent {
            height: 100%;

            .powerSupplyQualityOfSubstationPageDrawerContentComponent-powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent__panel {
                padding: 10px 8px;
                margin: 28px 1px 31px 7px;
                background-color: rgba(23, 161, 230, 0.1);
                display: flex;

                .powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent-panel__block {
                    margin-right: 80px;
                    font-size: 14px;
                    font-weight: 400;
                    color: #7A8F99;

                    .panel-block__value {
                        color: #2BEDE6;
                    }
                }
            }

            .powerSupplyQualityOfSubstationPageDrawerContentComponent-powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent__division {
                width: 100%;
                height: 2px;
                background-color: rgba(23, 161, 230, 0.3);
                margin-bottom: 8px;
            }

            .powerSupplyQualityOfSubstationPageDrawerContentComponent-powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent__top {
                padding: 24px 16px 0;
                position: relative;

                .powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent-top__bottomLabel {
                    width: 100%;
                    position: absolute;
                    text-align: center;
                    font-size: 12px;
                    font-weight: 400;
                    color: #7A8F99;
                }
            }

            .powerSupplyQualityOfSubstationPageDrawerContentComponent-powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent__bottom {
                position: relative;
                border-top: 2px solid rgba(23, 161, 230, 0.3);

                .powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent-bottom__tableRow {
                    background-color: rgba(23, 161, 230, 0.06);
                }

                .powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent-bottom__bottomLabel {
                    position: absolute;
                    bottom: 80px;
                    font-size: 14px;
                    font-weight: 400;
                    color: #7A8F99;


                    .bottom-bottomLabel__aValue {
                        color: #FFFF00;
                    }

                    .bottom-bottomLabel__bValue {
                        color: #00FF00;
                        margin-left: 16px;
                    }

                    .bottom-bottomLabel__cValue {
                        color: #FF0000;
                        margin-left: 16px;
                    }
                }

            }

            .powerSupplyQualityOfSubstationPageDrawerContentComponent-powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent__title {
                position: absolute;
                font-size: 14px;
                font-weight: 400;
                color: #7A8F99;
                z-index: 1;

                .powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent-title__value {
                    color: #2BEDE6;
                }

                .powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent-title__aValue {
                    color: #FFFF00;
                }

                .powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent-title__bValue {
                    color: #00FF00;
                    margin-left: 16px;
                }

                .powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent-title__cValue {
                    color: #FF0000;
                    margin-left: 16px;
                }

                .powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent-title__tab {
                    display: flex;

                    .title-tab__tabItem {
                        margin-right: 31px;
                        font-size: 14px;
                        font-weight: 400;
                        cursor: pointer;
                    }
                }
            }

            .powerSupplyQualityOfSubstationPageDrawerContentComponent-powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent__powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponentEchartsComponent {
                width: 100%;
                height: 100%;

                .powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponent-powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponentEchartsComponent__tooltip {
                    padding-right: 36px;
                    font-size: 12px;
                    font-weight: 400;
                    color: #8FB8CC;

                    .powerSupplyQualityOfSubstationPageDrawerContentComponentChartsComponentEchartsComponent-tooltip__row {
                        display: flex;
                        align-items: center;
                        font-weight: 500;
                        color: #FFFFFF;
                        margin-top: 5px;

                        .tooltip-row__legendLine {
                            width: 12px;
                            height: 2px;
                            background-color: #2BEDE6;
                            margin-right: 12px;
                        }

                        .tooltip-row__legendBar {
                            width: 8px;
                            height: 8px;
                            margin-right: 12px;
                        }

                        .tooltip-row__legendA {
                            background-color: #FFFF00;
                        }

                        .tooltip-row__legendB {
                            background-color: #00FF00;
                        }

                        .tooltip-row__legendC {
                            background-color: #FF0000;
                        }

                        .tooltip-row__seriesName {
                            font-weight: 500;
                            color: #8FB8CC;
                            margin-right: 12px;
                        }
                    }
                }
            }

            :global {

                // 表格和表头
                .ant-table-wrapper .ant-table,
                .ant-table-wrapper .ant-table-thead>tr>th {
                    background-color: rgba(0, 0, 0, 0);
                    font-size: 14px;
                    font-weight: 400;
                    color: #2BEDE6;
                }

                // 表头所有和每行第一个/最后单元格
                .ant-table-wrapper .ant-table-thead>tr>th,
                .ant-table-wrapper .ant-table-container td:first-child,
                .ant-table-wrapper .ant-table-container td:last-child {
                    color: #B8D6E6;
                }

                // 表头
                .ant-table-wrapper .ant-table-thead>tr>th {
                    font-weight: 500;
                    background-color: rgba(23, 161, 230, 0.2);

                }

                // 表头第一个和最后一个单元格
                .ant-table-wrapper .ant-table-container table>thead>tr:first-child th:first-child,
                .ant-table-wrapper .ant-table-container table>thead>tr:first-child th:last-child {
                    border-radius: 0;

                }

                // 表头和行
                .ant-table-wrapper .ant-table-thead>tr>th,
                .ant-table-wrapper .ant-table-tbody>tr>td {
                    padding: 14px 17px;

                }

                // 行悬浮
                .ant-table-wrapper .ant-table-tbody>tr>td.ant-table-cell-row-hover {
                    background: rgba(0, 0, 0, 0);
                }
            }
        }
    }
}

// 头部缩放下拉框
.header-scale__dropdown {
    .scale__dropdown__items {
        width: 100%;
        height: 32px;
        background-color: rgba(15, 56, 77, 0.9);
        border-radius: 2px 0px 0px 0px;
        display: flex;
        padding-left: 20px;
        align-items: center;
        font-size: 14px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.85);

        &:hover {
            background-color: rgba(23, 161, 230, 0.5);
        }
    }

    :global {
        .ant-dropdown-menu {
            padding: 0;
            margin-top: 6px;
            background-color: rgba(15, 56, 77, 0.9);
            border-radius: 2px;
            border: 1px solid #17A1E6;
        }

        .ant-dropdown-menu-item {
            width: 120px;
            background-color: rgba(0, 0, 0, 0);
            box-shadow: 0px 6px 16px 0px rgb(9 13 15 / 30%), 0px 3px 6px 0px rgb(9 13 15 / 20%);
            padding: 0 !important;
        }

    }
}


:global {

    // 下拉框
    .ant-select-dropdown.homePagePowerSupplyQualityOfSubstationPage-select__selectDropdown {
        background-color: rgba(15, 56, 77, 0.9);
        box-shadow: 0px 6px 16px 0px rgba(9, 13, 15, 0.3), 0px 3px 6px 0px rgba(9, 13, 15, 0.2);
        border-radius: 2px;
        border: 1px solid rgba(23, 161, 230, 1);
        padding: 0;

        // 下拉框文字
        .ant-select-item-option-content {
            font-size: 14px;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.85);

        }

        // 下拉框选中选项
        .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
            background-color: rgba(23, 161, 230, 0.5);
            border-radius: 0%;
        }

        // 下拉框分组标题
        .ant-select-item-group {
            font-size: 14px;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.65);
            border-radius: 2px;
            border-top: 1px solid rgba(23, 161, 230, 0.2);
        }
    }

    // 下拉框
    .ant-select-dropdown.powerSupplyQualityOfSubstationPageDrawerContentComponent-header__selectDropdown {
        background-color: rgba(15, 56, 77, 0.9);
        box-shadow: 0px 6px 16px 0px rgba(9, 13, 15, 0.3), 0px 3px 6px 0px rgba(9, 13, 15, 0.2);
        border-radius: 2px;
        border: 1px solid rgba(23, 161, 230, 1);
        padding: 0;

        // 下拉框文字
        .ant-select-item-option-content {
            font-size: 14px;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.85);

        }

        // 下拉框选中选项
        .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
            background-color: rgba(23, 161, 230, 0.5);
            border-radius: 0%;
        }

        // 下拉框分组标题
        .ant-select-item-group {
            font-size: 14px;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.65);
            border-radius: 2px;
            border-top: 1px solid rgba(23, 161, 230, 0.2);
        }
    }
}